import request from '@/utils/request'

// 查询医保基金-报销申请列表
export function listReimbursement(query) {
  return request({
    url: '/system/reimbursementApplication/list',
    method: 'get',
    params: query
  })
}

// 查询医保基金-报销申请详细
export function getReimbursement(id) {
  return request({
    url: '/system/reimbursementApplication/' + id,
    method: 'get'
  })
}

// 新增医保基金-报销申请
export function addReimbursement(data) {
  return request({
    url: '/system/reimbursementApplication',
    method: 'post',
    data: data
  })
}

// 修改医保基金-报销申请
export function updateReimbursement(data) {
  return request({
    url: '/system/reimbursementApplication',
    method: 'put',
    data: data
  })
}

// 删除医保基金-报销申请
export function delReimbursement(id) {
  return request({
    url: '/system/reimbursementApplication/' + id,
    method: 'delete'
  })
}

// 报销申请-转账
export function transferMoney(data) {
  return request({
    url: '/system/reimbursementApplication/transfer',
    method: 'post',
    data: data
  })
} 